package org.appfuse.model;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

import org.compass.annotations.Searchable;
import org.compass.annotations.SearchableId;
@Entity
@Table(name="deliverables")
@Searchable
@XmlRootElement

public class Deliverables implements Serializable
{
	private Long id;
	private Long projectId;
	private Long userId;
	private String selectedList;
	@Id
	  @GeneratedValue(strategy=GenerationType.AUTO)
	  @SearchableId
	public Long getId() {
		System.out.println("getId");
		return id;
	}
	public void setId(Long id) {
		System.out.println("setId");
		this.id = id;
	}
	@Column(name="project_id", nullable=false, length=50)
	public Long getProjectId() {
		System.out.println("getProjectId");
		return projectId;
	}
	public void setProjectId(Long projectId) {
		System.out.println("setProjectId");
		this.projectId = projectId;
	}
	@Column(name="selected_list", nullable=false, length=50)
	public String getSelectedList() {
		System.out.println("getSelectedList");
		return selectedList;
	}
	public void setSelectedList(String selectedList) {
		System.out.println("setSelectedList");
		this.selectedList = selectedList;
	}
	
	/*
	@Column(name="user_id", nullable=false, length=50)
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}*/
	
}